﻿using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
using Clarendon.AzureBilling.Gui.AzureServices;
using Clarendon.AzureBilling.Library;

namespace Clarendon.AzureBilling.Gui
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            BillingContractCallback callback = new BillingContractCallback();
            callback.Subscribe();
            List<HostedService> services = callback.SyncRequestServices();
            callback.ServiceDetails(services.ToArray());
        }
    }
}

